import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(
      home: TextWidget(),
    ));

class TextWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Text Widget'),
      ),
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: const [
          Text(
          //   fonts:
          //   - family: OpenSans
          // fonts:
          // - asset: assets/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf
          //   weight: 500
          // - asset: assets/fonts/OpenSans-VariableFont_wdth,wght.ttf
          //   weight: 600
          // - family: EduQLDBeginner
          // fonts:
          // - asset: assets/fonts/EduQLDBeginner-VariableFont_wght.ttf
          //   - family: EduSABeginner
          //   fonts:
          //   - asset: assets/fonts/EduSABeginner-VariableFont_wght.ttf
            'Hello Word',
            style: TextStyle(
                fontFamily: "EduSABeginner-Package",
                color: Colors.lightBlueAccent,
                fontSize: 20.0),
          ),
          Text(
            'I am Jck',
            style: TextStyle(
                fontFamily: "EduQLDBeginner",
                color: Colors.greenAccent,
                fontSize: 20.0),
          ),
          Text(
            "Good Morning",
            style: TextStyle(
                fontFamily: "OpenSans",
                color: Colors.grey,
                fontSize: 20.0),
          )
        ],
      ),
    );
  }
}
